﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace PwjCy.Lite.Storage.Imp
{
    public class StorageContext : IStorageContext
    {
        //public string ConnectionString
        //{
        //    get { throw new NotImplementedException(); }
        //}

        //public string ConnectionStringWithoutPwd
        //{
        //    get { throw new NotImplementedException(); }
        //}
        //public Type DriverType
        //{
        //    get { throw new NotImplementedException(); }
        //}
        [XmlAttribute("name")]
        public string Name { get; set; }
        public string DriverClass { get; set; }
        public string PersistenceDriver { get; set; }
        public string Provider { get; set; }
        public string DataSource { get; set; }
        public string InitialCatalog { get; set; }
        public string UserID { get; set; }
        public string Password { get; set; }
        public bool Enabled { get; set; }
        public int MinimunConnections { get; set; }
        public int MaximumConnections { get; set; }
        public int ConnectionTimeout { get; set; }
        public int ConnectionReaperDelay { get; set; }
    }
}
